﻿/*container*/
#ym-window
{
    background: #fff;
    overflow: hidden;
    font-size: 12px;
    font-family: '宋体';
}

/*header*/
.ym-tl
{
    padding-left: 3px;
    background: #CFD7EC url(images/title_bg_left.gif) no-repeat 0 0;
}
.ym-tr
{
    padding-right: 3px;
    background: #CFD7EC url(images/title_bg_right.gif) no-repeat right 0;
}
.ym-tc
{
    background: #CFD7EC url(images/title_bg_center.gif) repeat-x 0 0;
    overflow: hidden;
    height: 25px;
    line-height: 25px;
}
.ym-ttc
{
    height: 3px;
}
.ym-header-text
{
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    margin-left: 5px;
    float: left;
}
.ym-header-tools
{
    float: right;
    margin-top: 5px;
}
.ym-header-tools strong
{
    display: none;
}

/*body*/
.ym-ml
{
    background: #fff url(images/win_l.gif) repeat-y 0 0;
    padding-left: 3px;
}
.ym-mr
{
    background: #fff url(images/win_r.gif) repeat-y right 0;
    padding-right: 3px;
}
.ym-mc
{
    background: #fff url(images/content_bg.gif) repeat-x 0 0;
    padding: 0;
}
.ym-body
{
    overflow: auto;
    padding: 0;
    font-size: 12px;
}

/*button*/
.ym-btn
{
    text-align: center;
}

/*footer*/
.ym-bl
{
    background: url(images/win_lb.gif) no-repeat 0 bottom;
    padding-left: 3px;
}
.ym-br
{
    background: url(images/win_rb.gif) no-repeat right bottom;
    padding-right: 3px;
}
.ym-bc
{
    background: url(images/win_b.gif) repeat-x 0 bottom;
    height: 3px;
    font-size: 3px;
}

/*icon*/
.ymPrompt_alert
{
    padding-left: 85px;
    background: url(images/info.gif) no-repeat 20px 50%;
}
.ymPrompt_succeed
{
    padding-left: 85px;
    background: url(images/right.gif) no-repeat 20px 50%;
}
.ymPrompt_error
{
    padding-left: 85px;
    background: url(images/err.gif) no-repeat 20px 50%;
}
.ymPrompt_confirm
{
    padding-left: 85px;
    background: url(images/ask.gif) no-repeat 20px 50%;
}
/*
.ymPrompt_alert .ym-content{padding:20px 5px 20px 0;}
.ymPrompt_succeed .ym-content{padding:20px 5px 10px 0;}
.ymPrompt_error .ym-content{padding:10px 5px 10px 0;}
.ymPrompt_confirm .ym-content{padding:20px 8px 10px 0;}
*/

/* Begin: Text vertical-align:middle */
.ym-body
{
    display: table;
    _position: relative;
    overflow: hidden;
}

.ymPrompt_error .ym-content, .ymPrompt_alert .ym-content, .ymPrompt_succeed .ym-content, .ymPrompt_confirm .ym-content
{
    vertical-align: middle;
    display: table-cell; *position:absolute;*top:50%;padding-right:10px;}

.ymPrompt_error .ym-content div, .ymPrompt_alert .ym-content div, .ymPrompt_succeed .ym-content div, .ymPrompt_confirm .ym-content div
{ *position:relative;
*top:-50%;
}
* + html .ymPrompt_error .ym-content, * + html .ymPrompt_alert .ym-content, * + html .ymPrompt_succeed .ym-content, * + html .ymPrompt_confirm .ym-content
{
    vertical-align: middle;
    display: table-cell;
    position: absolute;
    top: 50%;
    padding-right: 100px;
}
/* End: Text vertical-align:middle */



/*图标公共定义*/
.ym-header-tools div
{
    cursor: pointer;
    width: 16px;
    height: 16px;
    float: left;
    margin: 0 1px;
    background: url(images/ico.gif) no-repeat 0 0;
}
.ymPrompt_close
{
    background-position: -16px 0 !important;
}
.ymPrompt_max
{
    background-position: 0 -16px !important;
}
.ymPrompt_min
{
    background-position: 0 0 !important;
}
.ymPrompt_normal
{
    background-position: -16px -16px !important;
}

/*取消确认按钮样式*/
input.btnStyle
{
    background: url(images/btn_bg.gif) no-repeat;
    width: 80px;
    height: 21px;
    line-height: 21px;
    font-size: 12px;
    color: #183C94;
    border: 0;
    margin: 10px 0;
}

